<div class="col-sm-12">
    <div class="box">
        <!-- BOX-BODY -->
        <div class="box-body">
            <div id="datatable1_wrapper" class="dataTables_wrapper form-inline" role="grid">
                <div class="row ">
                    <div class="col-sm-9">
                        <div class="col-sm-5 nopadding-left">
                            <div class="pull-left">
                                <div class="input-group bottom8">
                                    {{input class="form-control" type="text" placeholder="搜索姓名/房间号" value=queryCondition enter="search"}}
                                    <!-- <input class="form-control" type="text" placeholder="搜索姓名/房间号/护工姓名"> -->
                                    <span class="input-group-btn">
                  <button class="btn btn-primary btn-reduce" type="button" style="touch-action: manipulation; -ms-touch-action: manipulation;" {{action "search" on="click"}}>
                    <i class="fa fa-search"></i>
                  </button>
                </span>
                                </div>
                            </div>
                            <!--搜索-->
                        </div>
                        <div class="col-sm-7 nopadding-right nopadding-left">

                            {{callbusi/time-search class="inline-block" text='按评估日期搜索' dateShow=dateShow chooseDate=chooseDate search="search"
           submmit="submmit" emptied='emptied' changeBeginDateAction='changeBeginDateAction' changeEndDateAction='changeEndDateAction'}}
                        </div>
                    </div>
                    <div class="user-add-btn col-sm-3 pull-right nopadding-right">
                        {{#ui/mix-button class=" user-btn pull-right" iconClass="fa-plus" text='新增问卷' clickAction="toAddPage" toAddPage="toAddPage" }}
                        {{/ui/mix-button}}
                    </div>
                </div>
                <table id="datatable1" cellpadding="0" cellspacing="0" border="0" class="datatable table table-bordered table-hover dataTable mt15" aria-describedby="datatable1_info">
                    <thead>
                        <tr role="row">
                            <th rowspan="1" colspan="1" width="">老人姓名</th>
                            <th rowspan="1" colspan="1" width="">房间及床位</th>
                            <th rowspan="1" colspan="1" width="">完成状态</th>
                            <!-- <th rowspan="1" colspan="1" width="">对应自理等级</th>
                            <th rowspan="1" colspan="1" width="">对应护理等级</th> -->
                            <th rowspan="1" colspan="1" class="" width="">评估模板类型</th>
                            <th rowspan="1" colspan="1" class="" width="">评估人</th>
                            <th rowspan="1" colspan="1" class="" width="">评估日期</th>
                        </tr>
                    </thead>
                    {{#if evaluateList}}
                        <tbody role="alert" aria-live="polite" aria-relevant="all" class="">
                            {{#each evaluateList as |evaluate|}}
                                <tr class="gradeA odd" {{action "goDetail" evaluate on="click"}}>
                                    <td class=" ellipsis sorting_1">{{evaluate.customer.name}}</td>
                                    <td class=" ellipsis ">{{evaluate.customer.bed.roomBedName}}</td>
                                    <td class=" ellipsis ">
                                      {{#if (eq evaluate.doneFlag 0)}}
                                        <span style="color:red;">{{evaluate.doneFlagName}}</span>
                                      {{else}}
                                        {{evaluate.doneFlagName}}
                                      {{/if}}
                                    </td>
                                    <!-- <td class=" ellipsis ">
                                      {{#if (eq evaluate.doneFlag 1)}}
                                        {{#if evaluate.actionLevel}}
                                          {{evaluate.actionLevel.typename}}
                                        {{else}}
                                          无法计算
                                        {{/if}}
                                      {{/if}}
                                    </td>
                                    <td class=" ellipsis ">
                                      {{#if (eq evaluate.doneFlag 1)}}
                                        {{#if evaluate.level}}
                                          {{evaluate.level.name}}
                                        {{else}}
                                          无法计算
                                        {{/if}}
                                      {{/if}}
                                    </td> -->
                                    <td class="">{{evaluate.title}}</td>
                                    <td class=" ellipsis ">
                                        <span class="ellipsis floatLeft width90">{{evaluate.user.name}}</span>
                                    </td>
                                    <td class="">{{evaluate.createDateTimeString}}</td>
                                </tr>
                            {{/each}}
                        </tbody>
                    {{else}}
                    {{/if}}
                </table>
                <!-- {{#if evaluateList }}
                {{page-numbers content=EvaluateList showFL=true numPagesToShow=5}}
                {{else}}
                    <h1 class="col-sm-12 center unTask"></h1>
            {{/if}} -->
                {{#if evaluateList }}
                    {{page-numbers content=evaluateList showFL=true numPagesToShow=3}}
                {{else}}
                    <h1 class="col-sm-12 center unTask"></h1>
                {{/if}}
            </div>
        </div>
    </div>
</div>
